package cn.iocoder.yudao.module.shop.controller.admin.appointment.vo;

import cn.iocoder.yudao.module.shop.controller.admin.base.member.MemberRespVO;
import cn.iocoder.yudao.module.shop.controller.admin.base.user.UserRespVO;
import cn.iocoder.yudao.module.shop.controller.admin.order.vo.ShopOrderRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AppointmentValidateRespVO {

    @Schema(description = "管理后台 - 艾灸师可预约时间段")
    private List<AppointmentValidateItemRespVO> items;

    @Schema(description = "管理后台 - 艾灸师可预约时间段")
    @Data
    public static class AppointmentValidateItemRespVO {

        @Schema(description = "艾灸师", requiredMode = Schema.RequiredMode.REQUIRED)
        private UserRespVO user;

        @Schema(description = "预约订单", requiredMode = Schema.RequiredMode.REQUIRED)
        private List<ShopOrderRespVO> orders;

        @Schema(description = "时间段", requiredMode = Schema.RequiredMode.REQUIRED)
        private List<Integer> timeIndexs;

        @Schema(description = "不约时间段", requiredMode = Schema.RequiredMode.REQUIRED)
        private List<Integer> forbiddenTimeIndexs;

        @Schema(description = "是否休息", requiredMode = Schema.RequiredMode.REQUIRED)
        private Boolean vacate;
    }
}
